package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.DataDictionary;
import cn.wolfcode.crm.query.ObjectQuery;
import cn.wolfcode.crm.query.PageResult;

import java.util.List;


public interface IDataDictionaryService {
    void save(DataDictionary department);

    void delete(Long id);

    void update(DataDictionary department);

    DataDictionary get(Long id);

    List<DataDictionary> getAll();


    PageResult<DataDictionary> query(ObjectQuery qo);


    List<DataDictionary> selectDataBySn(String sn);

    List<DataDictionary> queryPayWayById();
}
